<!DOCTYPE html>
<html lang="en">
<head>
    {include file="_public/_head"/}
    <style>
        body { background: url("/public/images/bg3.png") no-repeat; background-size: 100%; background-attachment: fixed; }
        .description {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
        }
    </style>
</head>
<body>
{include file="_public/_header"/}
<div style="height: 1.6em"></div>
<div class="am-g am-g-fixed blog-g-fixed">
    <div class="am-u-md-8 am-panel">
        {volist name="list" id="vo"}
        <article class="">
            <h3 class="am-article-title blog-title">
                <a href="/news/{$vo.id}.html">{$vo.title}</a>
            </h3>
            <h4 class="am-article-meta blog-meta">
                <a href="/news.html?type={$vo.type}">{$vo.type_name}</a>
                原标题《{$vo.title_source}》
                <a href="{$vo.url}" target="_blank">查看原文</a>
            </h4>
            <div class="am-g blog-content-list">
                {if condition="7 eq $vo['type'] || 3 eq $vo['type']"}
                <a href="{$vo.url}" target="_blank">
                    <div class="am-u-lg-4">
                        <p class="news-pic"><img src="{$vo.pic}?x-oss-process=style/list"></p>
                    </div>
                    <div class="am-u-lg-8">
                        <p class="description">{$vo.description}</p>
                    </div>
                </a>
                {else/}
                <a href="/news/{$vo.id}.html">
                    <div class="am-u-lg-4">
                        <p class="news-pic"><img src="{$vo.pic}?x-oss-process=style/list"></p>
                    </div>
                    <div class="am-u-lg-8">
                        <p class="description">{$vo.description}</p>
                    </div>
                </a>
                {/if}
            </div>
        </article>
        <hr style="margin:0;">
        {/volist}
        {$list->render()}
    </div>
    {include file="_public/_sidebar"/}
</div>
{include file="_public/_footer"/}
</body>
</html>